package com.feicheng.lanniao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.lanniao.entity.Permission;
import com.feicheng.lanniao.result.ResultInfo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cailongyang
 * @since 2021-07-13
 */
public interface IPermissionService extends IService<Permission> {



	public ResultInfo deletePermissionInfo(Integer permissionId);
	
	
	public ResultInfo addPermissionInfo(Permission permission);
	

	public ResultInfo updatePermissionInfo(Permission permission);
	

	public ResultInfo getPermissionInfo(Integer permissionId);
	

	public ResultInfo getPermissionList(
			String name,
			String path,
			Boolean statu,
			Integer pId,
			Integer currentPage,
			Integer pageSize
			);
	

	public ResultInfo allPermissions();
}
